package cn.stylefeng.guns.modular.task.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 作业单表
 */
@TableName("task_order")
@Data
public class TaskOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 作业单号
     */
    @TableField("order_number")
    private String orderNumber;

    /**
     * 客户单号
     */
    @TableField("customer_number")
    private String customerNumber;

    /**
     * 客户id
     */
    @TableField("out_customer_id")
    private Long outCustomerId;

    /**
     * 客户名称
     */
    @TableField("out_customer_name")
    private String outCustomerName;

    /**
     * 项目部id
     */
    @TableField("operate_id")
    private Integer operateId;

    /**
     * 项目部名称
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 作业名称
     */
    @TableField("name")
    private String name;

    /**
     * 作业工作
     */
    @TableField("task_work")
    private String taskWork;

    /**
     * 核算方式
     */
    @TableField("settlement_mode")
    private String settlementMode;

    /**
     * 体积
     */
    @TableField("volume")
    private String volume;

    /**
     * 重量
     */
    @TableField("weights")
    private String weights;

    /**
     * 数量
     */
    @TableField("nums")
    private String nums;

    /**
     * 工时
     */
    @TableField("hours")
    private String hours;

    /**
     * 时效
     */
    @TableField("prescription")
    private String prescription;

    /**
     * 人数
     */
    @TableField("peoples")
    private String peoples;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private String createTimes;

    /**
     * 创建人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * 结束时间
     */
    @TableField("end_time")
    private String endTime;

    /**
     * 结束确认人员
     */
    @TableField("end_name")
    private String endName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * v5
     */
    @TableField("v5")
    private String v5;

    /**
     * v6
     */
    @TableField("v6")
    private String v6;

    /**
     * 车型
     */
    @TableField("car_model")
    private String carModel;

    /**
     * v7
     */
    @TableField("v7")
    private String v7;

    /**
     * v8
     */
    @TableField("v8")
    private String v8;

    /**
     * v9
     */
    @TableField("v9")
    private String v9;

    /**
     * v10
     */
    @TableField("v10")
    private String v10;

    /**
     * 预约id
     */
    @TableField("make_id")
    private Long makeId;

    @Override
    public String toString() {
        return "TaskOrder{" +
        "id=" + id +
        ", status=" + status +
        ", orderNumber=" + orderNumber +
        ", customerNumber=" + customerNumber +
        ", outCustomerId=" + outCustomerId +
        ", outCustomerName=" + outCustomerName +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", name=" + name +
        ", taskWork=" + taskWork +
        ", settlementMode=" + settlementMode +
        ", volume=" + volume +
        ", weights=" + weights +
        ", nums=" + nums +
        ", hours=" + hours +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", note=" + note +
        ", createTimes=" + createTimes +
        ", createName=" + createName +
        ", endTime=" + endTime +
        ", endName=" + endName +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
